package spring6_learn.service;

import org.springframework.stereotype.Service;

@Service
public class userService {

    public void save(){
        System.out.println("保存user数据");
    }
    public void update(){
        System.out.println("更新user数据");
        throw new RuntimeException("更新失败");
    }
}
